package com.pig4cloud.pig.module.api.entity.mer;

import com.baomidou.mybatisplus.annotation.*;
import com.pig4cloud.pig.module.api.entity.product.ProductOrder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 餐饮店的餐桌列对象 mer_table
 *
 * @author ruoyi
 * @date 2023-05-15
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("mer_table")
public class MerTable implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 商家id
     */
    private Integer merId;

    /**
     * 桌号
     */
    private Integer tableNo;

    /**
     * 桌名
     */
    private String tableName;

    /**
     * 状态 0 - 未翻台  1 - 已翻台
     */
    private Integer state;

    /**
     * 二维码
     */
    private String qrCodeUrl;

	/**
	 *  标准人数
	 */
	private Integer userCount;


	@TableField(exist = false)
    private String merName;

	@TableField(exist = false)
    private ProductOrder order;

}
